package com.example.neusoft.cook.ViewHolder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.neusoft.cook.R;

/**
 * Created by neusoft on 2017/5/27.
 */

public class FoodFavorListViewHolder extends RecyclerView.ViewHolder {
    public View itemView;
    public ImageView foodImageView;
    public TextView foodNameView;
    public TextView foodPriceView;
    public Button cancelFoodButton;

    public FoodFavorListViewHolder(View itemView) {
        super(itemView);

        this.itemView = itemView;
        foodImageView = (ImageView) itemView.findViewById(R.id.food_imageView);
        foodNameView = (TextView) itemView.findViewById(R.id.textView_food_name);
        foodPriceView = (TextView) itemView.findViewById(R.id.textView_food_price);
        cancelFoodButton = (Button) itemView.findViewById(R.id.button_cancle_favorFood);
    }
}
